<?php
/**
 *  Flvmeister
 *  a multi-format video transcoder class written in PHP5 
 *  Copyright (C) 2008  Marco Fischer <marco@flvmeister.com>
 * 
 *  This program is free software: you can redistribute it and/or modify
 *  it under the terms of the GNU General Public License as published by    
 *  the Free Software Foundation, either version 3 of the License, or
 *  any later version.
 * 
 *  This program is distributed in the hope that it will be useful,
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *  GNU General Public License for more details.
 * 
 * You should have received a copy of the GNU General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 * 
 *
 */

/**provides video format definition
 *
 * @author Marco Fischer <marco@flvmeister.com>
 * @copyright Copyright (C) 2008  Marco Fischer <marco@flvmeister.com>
 * @package Flvmeister
 * @version 0.1-dev
 */
class Flvmeister_Formats_Video
{
    const CODEC_FLV       = 0;
    const CODEC_H264      = 1;
    const CODEC_WMV8      = 2;

    const RESOLUTION_CIF       = '320x240';
    const RESOLUTION_VGA       = '640x480';
    const RESOLUTION_PAL       = '720x576';
    const RESOLUTION_NTSC      = '720x480';

    const FRAMERATE_PAL        = '25';
    const FRAMERATE_NTSC       = '23.97';
    const FRAMERATE_24P        = '24';

    const BITRATE_300K         = '300k';
    const BITRATE_500K         = '500k';
    const BITRATE_800K         = '800k';
    const BITRATE_1000K        = '1000k';
    const BITRATE_2000K        = '2000k';

    const ENCODE_SINGLE_PASS   = 1;
    const ENCODE_2_PASS        = 2;

    const DEINTERLACE_OFF      = 0;
    const DEINTERLACE_ON       = 1;
}